package com.pattern.decorator;

public class PaintDecorator extends AbstractDecorator {

    public PaintDecorator(Component c) {
        super(c);
    }

    public void makeHouse() {
        super.makeHouse();
        //Decorating now.
        System.out.println("***Paint decorator is in action now***");
        paintTheHouse();
        //You can add additional stuffs as per your need
    }

    private void paintTheHouse() {
        System.out.println("Now I am painting the house.");
    }

}
